# print(type('666'))

# print([1,2] + [3,4])

# print('6' + str(6))

# num = 10
# num **= 2
# print(num)

# a = [1]
# b = [1]
# print(a==b)
# print(id(a), id(b))
# print(a is b)


# c = True
# print(not c)


#数组list类型
print(type([1,2]))

#集合set类型
print(type({1,2,3}))

#不可变集合frozenset类型
print(type(frozenset([1,2])))

s1 = frozenset([1,2,3,4,5])
s2 = {4,5,6}
# result = s1.intersection(s2)
# result = s2.intersection(s1)
# result = s1 & s2
# result = s2 & s1

result = s2.intersection_update(s1)
print(result)


print("我的名字是%s,年龄是%d"%('fangyukui',12))
print("我的编程语言是{0},工作年限是{1}".format('swift',3))











